<%--
  Created by IntelliJ IDEA.
  User: 刘洪兆0720
  Date: 2022/5/1
  Time: 9:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>顶部导航栏</title>
    <link rel="stylesheet" href="${path}/static/layui/css/layui.css"/>
    <link rel="stylesheet" href="${path}/static/bootstrap/css/bootstrap.min.css">
    <script src="${path}/static/bootstrap/js/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script src="${path}/static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="${path}/static/layui/layui.js" charset="utf-8"></script>
    <style>
        body {
            background: #f1efec;
        }
    </style>
</head>

<body>
<nav class="navbar navbar-inverse navbar-fixed-top" style="color: #697a8a">
    <div class="navbar-collapse collapse">
        <div class="container">
            <ul class="nav navbar-nav">
                <li style="font-size: 18px; text-color: #ffffff;"><a>上机考试系统</a></li>
                <li style="color: #FFFFFF;position: relative;left: 50px;"><a href="admin_home.jsp"> 首页</a></li>
                <li style="color: #FFFFFF;position: relative;left: 60px;"><a href="admin_allTeacher.jsp">教师管理</a></li>
                <li style="color: #FFFFFF;position: relative;left: 60px;"><a href="admin_clearExam.jsp">考试清理</a></li>
                <li style="color: #FFFFFF;position: relative;left: 60px;"><a href="admin_system.jsp">系统配置</a></li>
            </ul>
            <ul class="nav navbar-nav" style="float: right;overflow-block: hidden;overflow: hidden">
                <li><a>欢迎您，${teacher.t_name }
                </a></li>
                <li><a href="" data-toggle="modal" data-target="#myModal">
                    修改密码 </a></li>
                <li><a href="${path}/exit"> 退出 </a></li>
            </ul>
        </div>
    </div>
</nav>
<div class="container" style="margin-top: 50px;">
    <div>
        <hr style="background-color: #C3D889; height: 3px; border: none; margin-top: 40px"/>
    </div>
</div>

</div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" style="width: 300px">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-hidden="true">&times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    <b>修改密码</b>
                </h4>
            </div>
            <form action="${path}/exitTeacher" method="post">
                <div class="alert navbar-inverse "
                     style="background-color: #eeeeee; height: auto; margin-top: 20px;">
                    <input style="width: 250px" name="oldPwd" type="password"
                           placeholder="原密码" class="form-control"> <br/> <input
                        type="password" style="width: 250px" placeholder="新密码"
                        name="newPwd1" class="form-control"> <br/> <input
                        type="password" style="width: 250px" placeholder="重输新密码"
                        name="newPwd2" class="form-control"> <br/>
                    <button type="submit" style="width: 250px" class="btn btn-primary">
                        确定修改
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
